<%
    application.setAttribute("root", request.getContextPath());
%>
    <link rel="stylesheet" type="text/css" href="${root}/static/css/public.css"/> 
    <script type="text/javascript" src="${root}/static/jquery/jquery-1.9.1.js"></script>
    <script type="text/javascript" src="${root}/static/js/public.js"></script>
    <script>var root = '${root}';</script>